home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / GetEnv < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      GetEnv(33.4)      ARP Programmers Manual      GetEnv(33.4)
  5.  
  6.  
  7.  
  8.      NAME
  9.       GetEnv -- Get    the value of an    environment variable
  10.  
  11.      SYNOPSIS
  12.       strptr = Getenv("string", buffer, size)
  13.         d0            A0          A1     d0
  14.  
  15.      FUNCTION
  16.       This function    provides an environment    variable mechanism
  17.       compatible with MANX.     Note that this    call is    more efficient
  18.       than using the manx getenv() function    call when arplibrary
  19.       is installed.
  20.  
  21.      INPUTS
  22.       string -- pointer to an environment variable name.
  23.  
  24.       buffer -- a user allocated area which    will be    used to    store
  25.           the value associated with the    environment variable.
  26.           This may be NULL.
  27.  
  28.       size -- size of buffer region    in bytes.
  29.  
  30.      RESULT
  31.       If found, a pointer to the string for that variable will be
  32.       returned.  NULL means not found.
  33.  
  34.       NOTE - in V39.0 of ARP, it is no longer recommended to use
  35.       a NULL buffer to get internal access to the MANX/Rokicki
  36.       environment.  Please see GetEnv_ADDENDUM for details.
  37.  
  38.      ADDTIONAL CONSIDERATIONS
  39.       arp.libraries    environment variable mechanism is compatible
  40.       with the MANX    software, which    has set    the defacto standard
  41.       implementation for the Amiga.     This call is NOT equivalent
  42.       to the Manx getenv() call, however.
  43.  
  44.      BUGS
  45.       None Known.
  46.  
  47.      SEE ALSO
  48.       SetEnv()
  49.  
  50.      AUTHOR
  51.       SDB
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.